﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WpfAGVSystem.DBModel
{
    [Table("AreaType_Entity")]
    public class AreaType_Entity: BaseDbmodel
    {
        [Key]

        public int Id { get; set; }
        /// <summary>
        /// 区域编号
        /// </summary>
        public int AreaType { get; set; }

        /// <summary>
        /// 所属地图
        /// </summary>
        public int MapType { get; set; }
        /// <summary>
        /// 注释
        /// </summary>
        public string Remark { get; set; }

        public AreaType_Entity Clone()
        {
            return new AreaType_Entity
            {
                AreaType = this.AreaType,
                MapType = this.MapType,
                Remark = this.Remark
            };
        }
    }
}
